#include <stdio.h>

int main(int argc, char *argv[])
{
  int i = 0, j, k;
  do
  {
    i++;
    k = 316 - 13 * i;
  } while (k/11 == 0);
  j = k / 11;
  printf("316 = 13 * %d + 11 * %d\n", i, j);
  return 0;
}